package main.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

@Entity
public class Girl implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public static final String ID = "id";
	
	public static final String CUPSIZE = "cupSize";
	
	public static final String AGE = "age";

	public static final String NAME = "name";
	
	public static final String BOYFRIEND = "boyFriend";
	
	public static final String FATHER = "father";
	
	@Id
	@GeneratedValue
	private Integer id;

	
	private String cupSize;
	
	private Integer age;
	
	private String name;
	
	@ManyToOne
	private Boy boyFriend ;
	
	@ManyToOne
	private Father father;

	public Father getFather() {
		return father;
	}

	public void setFather(Father father) {
		this.father = father;
	}

	public Boy getBoyFriend() {
		return boyFriend;
	}

	public void setBoyFriend(Boy boyFriend) {
		this.boyFriend = boyFriend;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCupSize() {
		return cupSize;
	}

	public void setCupSize(String cupSize) {
		this.cupSize = cupSize;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String toString() {
		return "Girl{"+
				"id="+ id +
				",cupSzie="+ cupSize +
				",age=" + age +
				",name=" + name +
				",boyFriend=" + boyFriend +
				",father=" + father +
				"}";
	}
	
}
